<template>
    <risk-people-quotas-common
        bg-color="#f0a462"
        :data="data"
        :items="items"
    ></risk-people-quotas-common>
</template>
<script>
import RiskPeopleQuotasCommon from './risk-people-quotas-common'
import { DEFAULT_QUOTA_CLICK } from './util'

export default {
    name: 'RiskPeopleQuotasFoucs',
    components: {
        RiskPeopleQuotasCommon
    },
    props: {
        data: {
            type: Object,
            default: () => ({})
        }
    },
    computed: {
        items () {
            return [{
                label: '关注人员总数',
                large: true,
                dataType: 30,
                prop: 'gzPersonSum',
                click: DEFAULT_QUOTA_CLICK.openPeoplePage
            }, {
                label: '违法犯罪前科',
                prop: 'qianKeNum',
                dataType: 31,
                click: DEFAULT_QUOTA_CLICK.openPeoplePage
            }, {
                label: '在逃',
                prop: 'zaiTaoNum',
                dataType: 32,
                click: DEFAULT_QUOTA_CLICK.openPeoplePage
            }, {
                label: '表现异常',
                dataType: 33,
                prop: 'biaoXianYiChangNum',
                click: DEFAULT_QUOTA_CLICK.openPeoplePage
            }]
        }
    }
}
</script>